/// <summary>
/// 场景事件
/// </summary>
namespace MotionFramework.Scene
{
    public abstract class SceneEvent
    {
        /// <summary>
        /// 场景名称
        /// </summary>
        public abstract string SceneName { get; }

        /// <summary>
        /// 进入场景
        /// </summary>
        public abstract void OnEnter();

        /// <summary>
        /// 退出场景
        /// </summary>
        public abstract void OnExit();
    }
}